Handle ISO_Level3_Shift keysym as AltGr in ioemu/vncfb.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 30 Apr 2007 14:06:34 +0000 (15:06 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 30 Apr 2007 14:06:34 +0000 (15:06 +0100)
commite050e9784befb67c31cb87b5767cc8d715883888
tree083faa126e7e5002e4cc16466bf93a94b67c23e7
parent14d89699f416d5bb5a75d5e31f93a68dce38962c
Handle ISO_Level3_Shift keysym as AltGr in ioemu/vncfb.

The modern (xkb) way of mapping the AltGr key (113) seems to be using
the ISO_Level3_Shift keysym (0xFE03) instead of the obsolete
Mode_switch keysym (0xFF7E).

This patch let the "keysym to scancode" translator handle the
ISO_Level3_Shift correctly, enabling the use of characters like
~#{[|`\^@]} on a french keyboard.

From: Cedric Schieli <cschieli@gmail.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
tools/ioemu/keymaps/modifiers
tools/ioemu/vnc_keysym.h